﻿<%@ Assembly Name="Microsoft.SharePoint.ApplicationPages, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>
<%@ Assembly Name="Lapointe.WebPartPageHistory, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3216c23aba16db08"%>
<%@ Page Language="C#" Inherits="Lapointe.WebPartPageHistory.ApplicationPages.ListSettingsPage" MasterPageFile="~/_layouts/application.master"      %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Import Namespace="Lapointe.WebPartPageHistory.ApplicationPages" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" src="~/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormControl" src="~/_controltemplates/InputFormControl.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" src="~/_controltemplates/ButtonSection.ascx" %>
<%@ Register Tagprefix="wssawc" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

<asp:Content ID="Content1" ContentPlaceHolderId="PlaceHolderPageTitle" runat="server">
	<SharePoint:FormattedStringWithListType ID="FormattedStringWithListType1" runat="server"
		String="Web Part History Settings" LowerCase="false" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderId="PlaceHolderAdditionalPageHead" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderId="PlaceHolderPageImage" runat="server">
<IMG SRC="/_layouts/images/blank.gif" width="1" height="1" alt="">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderId="PlaceHolderPageTitleInTitleArea" runat="server">
	<SharePoint:FormattedStringWithListType ID="FormattedStringWithListType2" runat="server"
		String="Web Part History Settings:" LowerCase="false" />
	<a tabindex="1"  id="onetidListHlink" href=<% SPHttpUtility.AddQuote(SPHttpUtility.UrlPathEncode(List.DefaultViewUrl,true),Response.Output);%>><%SPHttpUtility.HtmlEncode(List.Title, Response.Output);%></a>
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderId="PlaceHolderPageDescription" runat="server">
</asp:Content>

<asp:Content ID="Content6" ContentPlaceHolderID="PlaceHolderMain" runat="server">
<TABLE border="0" width="100%" cellspacing="0" cellpadding="0" class="ms-descriptiontext">
<wssuc:InputFormSection runat="server"
	id="EnableHistorySection"
	Title="Enable Web Part Page History"
	>
	<Template_Description>
		<SharePoint:FormattedStringWithListType ID="FormattedStringWithListType3" runat="server"
			String="Enables the storage of page history, including web part changes, so that restores of previous versions include web part changes." />
	</Template_Description>
	<Template_InputFormControls>
		<wssuc:InputFormControl runat="server">
			<Template_LabelText>
				<table border="0" cellpadding="0" cellspacing="0">
					<tr>
						<td class="ms-authoringcontrols">
							<SharePoint:FormattedStringWithListType ID="FormattedStringWithListType4" runat="server"
								String="Enable web part page history?" AllowSimpleTextFormatting="true" />
						</td>
					</tr>
				</table>
			</Template_LabelText>
			<Template_Control>
				<table class="ms-authoringcontrols" width="100%">
					<tr>
						<td nowrap width="50%">
							<asp:RadioButton id="RadEnableYes"
								GroupName="enableHistory"
								Text="<%$Resources:wss,multipages_yes%>"
								Title="Enable web part page history: yes"
								Checked="true" 
								AutoPostBack="true" 
								OnCheckedChanged="OnEnableStateChanged"
								runat="server"/>
						</td>
						<td nowrap>
							<asp:RadioButton id="RadEnableNo"
								GroupName="enableHistory"
								Text="<%$Resources:wss,multipages_no%>"
								Title="Enable web part page history: no"
								AutoPostBack="true" 
								OnCheckedChanged="OnEnableStateChanged"
								runat="server"/>
						</td>
					</tr>
				</table>
			</Template_Control>
		</wssuc:InputFormControl>
	</Template_InputFormControls>
</wssuc:InputFormSection>

<wssuc:InputFormSection runat="server"
	id="IncludeDependenciesSection"
	Title="Include Page Dependencies"
	>
	<Template_Description>
		<SharePoint:FormattedStringWithListType ID="FormattedStringWithListType5" runat="server"
			String="Store page dependencies such as master pages, page layouts, and/or images." />
	</Template_Description>
	<Template_InputFormControls>
		<wssuc:InputFormControl runat="server">
			<Template_LabelText>
				<table border="0" cellpadding="0" cellspacing="0">
					<tr>
						<td class="ms-authoringcontrols">
							<SharePoint:FormattedStringWithListType ID="FormattedStringWithListType6" runat="server"
								String="Include page dependencies?" AllowSimpleTextFormatting="true" />
						</td>
					</tr>
				</table>
			</Template_LabelText>
			<Template_Control>
				<table class="ms-authoringcontrols" width="100%">
					<tr>
						<td nowrap width="50%">
							<asp:RadioButton id="RadDependenciesYes"
								GroupName="includeDependencies"
								Text="<%$Resources:wss,multipages_yes%>"
								Title="Include page dependencies: yes"
								runat="server"/>
						</td>
						<td nowrap>
							<asp:RadioButton id="RadDependenciesNo"
								GroupName="includeDependencies"
								Text="<%$Resources:wss,multipages_no%>"
								Title="Include page dependencies: no"
								Checked="true" 
								runat="server"/>
						</td>
					</tr>
				</table>
			</Template_Control>
		</wssuc:InputFormControl>
	</Template_InputFormControls>
</wssuc:InputFormSection>

<wssuc:ButtonSection runat="server">
	<Template_Buttons>
		<asp:Button UseSubmitBehavior="false" runat="server" class="ms-ButtonHeightWidth" OnClick="BtnSave_Click" Text="<%$Resources:wss,multipages_savebutton_text%>" id="BtnSave" accesskey="<%$Resources:wss,multipages_savebutton_accesskey%>"/>
	</Template_Buttons>
</wssuc:ButtonSection>
</TABLE>
</asp:Content>


